package my.spring.web;

import my.actuate.beans.Utils;

public class ModelAndView extends org.springframework.web.servlet.ModelAndView {
    public ModelAndView addObject(Object pObj, boolean pReflectAttrs) {
        if (pReflectAttrs) {
            Utils.copy(pObj, getModel());
        } else {
            super.addObject(pObj);
        }
        return this;
    }
}
